package com.kitchen.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "food_like")
public class FoodLike {
    /**
     * 点赞表id
     */
    @Id
    @Column(name = "l_id")
    private Integer lId;

    /**
     * 用户id
     */
    @Column(name = "u_id")
    private Integer uId;

    /**
     * 菜谱id
     */
    @Column(name = "f_id")
    private Integer fId;

}